//
//  IsLanDecribFootView.m
//  diaoyuren
//
//  Created by 钓鱼人 on 16/3/2.
//  Copyright © 2016年 game. All rights reserved.
//

#import "IsLanDecribFootView.h"

@interface IsLanDecribFootView ()
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *GuanzhuXd;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *chuantuXd;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *dianpingXd;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *baocuoXd;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *liHight;


@end

@implementation IsLanDecribFootView


-(void)awakeFromNib{
    
    

    self.chuantuXd.constant = -SCREEN_WIDTH*1/8;
    self.GuanzhuXd.constant = -SCREEN_WIDTH*1/3-8;
    self.dianpingXd.constant = SCREEN_WIDTH*1/8;
    self.baocuoXd.constant = SCREEN_WIDTH*1/3+8;
    
    self.liHight.constant = 0.5;
    
    self.guanzhuBtn.titleLabel.font = font(SCREEN_WIDTH*0.035);
    self.chuantuBTn.titleLabel.font = font(SCREEN_WIDTH*0.035);
    self.dianpingbtn.titleLabel.font = font(SCREEN_WIDTH*0.035);
    self.baocuoBtn.titleLabel.font = font(SCREEN_WIDTH*0.035);
    
    
    [self.guanzhuBtn setTitleColor:mainColor forState:UIControlStateSelected];
    [self.guanzhuBtn setTitleColor:mainColor forState:UIControlStateSelected | UIControlStateHighlighted];

}

@end
